<?php

	require_once('Controller.php');
	
	/**
	* Home, Controleur principal, accueil du site
	*/
	class Home extends Controller
	{
		public function __construct ()
		{
			parent::__construct();
			$this->data->menu['Voir les photos'] = "?controller=Photo&action=index";
			$this->data->menu['Voir les albums'] = "?controller=Album&action=index";
		}
		
		public function index ()
		{
			$this->data->view = 'homeView.php';
		}
	
		public function apropos ()
		{
			$this->data->view = 'aproposView.php';
		}
	
	}
	